package com.bjkcst.baselib.protocolparse.example;

import com.bjkcst.baselib.protocolparse.bean.Bit;
import com.bjkcst.baselib.protocolparse.annotation.BeanFieldBitAnnotation;

/**
 * @author: glc.
 * Date: 2022/5/17  19:36
 * Description:
 *
 * 定义接收 bit 数据示例
 */
public class ReceiveBitExamples extends Bit {

    @BeanFieldBitAnnotation(value = "a",order = 1)
    public int a;

    @BeanFieldBitAnnotation(value = "b",order = 2)
    public int b;

    @BeanFieldBitAnnotation(value = "c",order = 3)
    public int c;


    @BeanFieldBitAnnotation(value = "d",order = 4)
    public int d;


    @BeanFieldBitAnnotation(value = "e",order = 5)
    public int e;

    @BeanFieldBitAnnotation(value = "f",order = 6)
    public int f;


    @BeanFieldBitAnnotation(value = "i",order = 7)
    public int i;

    @BeanFieldBitAnnotation(value = "j",order = 8)
    public int j;

    @Override
    public String toString() {
        return "MyBit{" +
                "a=" + a +
                ", b=" + b +
                ", c=" + c +
                ", d=" + d +
                ", e=" + e +
                ", f=" + f +
                ", i=" + i +
                ", j=" + j +
                '}';
    }
}
